package ai.zixing.proxy.example01;

public class Client {
    public static void main(String[] args) {
        // 目标类
        IUserDao dao = new UserDaoImpl();
        // 代理类
        UserDaoProxy proxy = new UserDaoProxy(dao);
        proxy.save();
    }
}
